-
Notifications
You must be signed in to change notification settings - Fork 619
Fix position:relative not supported on <tr> in webkit (safari) #5431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix position:relative not supported on <tr> in webkit (safari) #5431
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5431 +/- ##
=======================================
Coverage 45.50% 45.50%
=======================================
Files 1071 1071
Lines 55718 55718
Branches 4032 4032
=======================================
Hits 25357 25357
Misses 29674 29674
Partials 687 687
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
We use position:relative on tr to contain the absolutely position anchor link inside - to make the whole row clickable, but that does not work on webkit ( safari ) Relevant article on the topic: https://mtsknn.fi/blog/relative-tr-in-safari/
884ee36 to
5585def
Compare

We use position:relative on tr to contain the absolutely position anchor link inside - to make the whole row clickable, but that does not work on webkit ( safari )
Relevant article on the topic:
https://mtsknn.fi/blog/relative-tr-in-safari/
PR-Codex overview
This PR focuses on enhancing the table components across various files by introducing a
linkBoxprop, which allows rows to be clickable. This improves user interaction by enabling navigation directly from table rows.Detailed summary
linkBoxprop to severalTableRowcomponents.classNameattributes to includecursor-pointerfor better UX.TWTableto acceptbodyRowLinkBoxprop.